package com.lz.core.http.sharing;

import com.lz.core.utils.Runner;
import io.vertx.core.AbstractVerticle;
import io.vertx.core.DeploymentOptions;

/**
 * ds..
 *
 * @author Lizhong
 * @date 2019/9/4
 */
public class Server extends AbstractVerticle {

    public static void main(String[] args) {
        Runner.runExample(Server.class);
    }

    @Override
    public void start() throws Exception {
        vertx.deployVerticle(
                "com.lz.core.http.sharing.HttpServerVerticle",
                new DeploymentOptions().setInstances(2));
    }
}